{% extends 'adminbase.html' %}
{% block content_admin %}
	<p>	
		<a href="/admin/admin_createcategory">Create Category</a>
	</p>
	List of Category

	{% if category_list %}
	    <ul>
	    {% for category in category_list %}
	        <li><a href="/admin/admin_detailcategory/{{ category.pk }}/">{{ category.title }}</a></li>
	    {% endfor %}
	    </ul>
	{% else %}
	    <p>No categories are available.</p>
	{% endif %}

{% endblock %}
